<#-- package -->
package ${modelPackage};

<#-- imports -->
<#list modelImportTypes as importType>
import ${importType};
</#list>
import lombok.Data;

/**
* ${tableName} ${remarks!}
*/
@Data
public class ${modelName} implements ${modelImplements} {
<#-- fields -->
<#list columns as column>
    <#if column.remarks?length gt 1>
    /** ${column.remarks} */
    </#if>
    private ${column.javaType.simpleName} ${column.property};
</#list>
<#if primaryKey.property != 'id'>
    @Override
    public ${primaryKey.javaType.simpleName} getId() {
    return ${primaryKey.property};
    }
    @Override
    public void setId(Long id) {
    this.${primaryKey.property} = id;
    }
</#if>
<#if !(outputFileExists)>
    /* ${configuration.keepMarkStart} */
    /* ${configuration.keepMarkEnd} */
</#if>
}